ci(stale): exempt pinned items and document required labels - #114
Merged
PAMulligan merged 1 commit intoJun 11, 2026
Conversation
The stale workflow applies a 'stale' label that had been deleted from the repo's label set, leaving stale items unfilterable and breaking the documented rescue path (surfaced when issue #58 was auto-marked stale with no permanent opt-out). - Add 'pinned' to exempt-issue-labels and introduce exempt-pr-labels (PRs previously had no exemption mechanism) - Mention the pinned rescue path in the stale-issue message - Document that the stale and pinned labels must exist in the repo's label set The stale (#ededed) and pinned (#5319e7) labels were recreated directly in the repo's label registry via gh label create. Fixes #113 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
stalelabel (and added a newpinnedlabel) in the repo's label registry viagh label create, so the label referenced bystale.ymlresolves and stale items can be found with alabel:stalefilter againpinnedtoexempt-issue-labelsand introducedexempt-pr-labels: "pinned"so intentionally long-lived issues and PRs are never auto-closed (PRs previously had no exemption mechanism at all)Verification
gh label listshows both labels with descriptions and colors (stale#ededed,pinned#5319e7)gh issue list --label staleand--label pinnedexit 0 — the filters resolve again (0 items currently marked)stale.ymlparses as valid YAML (checked with js-yaml)Notes for reviewers
pinnedCloses #113
🤖 Generated with Claude Code